net: mvpp2: introduce PPv2.2 HW descriptors and adapt accessors
authorThomas Petazzoni <[email protected]>
Mon, 20 Feb 2017 10:08:46 +0000 (11:08 +0100)
committerStefan Roese <[email protected]>
Wed, 29 Mar 2017 05:40:49 +0000 (07:40 +0200)
commitf50a0118d12e362f84ec10240c9e00048779adc5
tree5c14cc102a1fd1d4a91751a67e813bcee8906147
parent9a6db0bb064cf513a8f523fd0a51265e8bd907bf
net: mvpp2: introduce PPv2.2 HW descriptors and adapt accessors

This commit adds the definition of the PPv2.2 HW descriptors, adjusts
the mvpp2_tx_desc and mvpp2_rx_desc structures accordingly, and adapts
the accessors to work on both PPv2.1 and PPv2.2.

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/mvpp2.c